package com.zjtaixue.usersite.domain;

import lombok.*;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Login implements Serializable {

    public static final Byte STATE_DISABLE = 0;//禁用
    public static final Byte STATE_ENABLE = 1;//启用

    public static final Byte TYPE_STUDENT = 0;//学生
    public static final Byte TYPE_TEACHER = 1;//教师

    private Integer id;

    private String username;

    private String password;

    private Byte type;//账号类型:学生账号还是教师账号

    private Byte state;//账号状态:禁用/启用

    private Integer userinfoId;

    private String sessionId;
}